package cn.com.twoke.game.common.entity.message;

import cn.com.twoke.game.common.constants.MessageType;

import static cn.com.twoke.game.common.constants.MessageType.GAME_CHAT;

public class GameChatMessage extends Message {

    private String content;
    private String formId;
    private String gameId;
    private String roomId;
    private long time;

    public GameChatMessage(String content, String formId,String roomId, String gameId, long time) {
        this.content = content;
        this.formId = formId;
        this.gameId = gameId;
        this.roomId = roomId;
        this.time = time;
    }

    public String getRoomId() {
        return roomId;
    }

    public void setRoomId(String roomId) {
        this.roomId = roomId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getFormId() {
        return formId;
    }

    public void setFormId(String formId) {
        this.formId = formId;
    }

    public String getGameId() {
        return gameId;
    }

    public void setGameId(String gameId) {
        this.gameId = gameId;
    }

    public long getTime() {
        return time;
    }

    public void setTime(long time) {
        this.time = time;
    }

    @Override
    public MessageType getType() {
        return GAME_CHAT;
    }


}
